package com.baway.common.model

import com.baway.common.api.BaseApiServer

/**
 * Author: Jason Zhang
 * Date: 2025/8/18
 * Desc: 基础仓库层
 */
abstract class BaseRepository<S: BaseApiServer> {

    protected var apiServer: S

    init {
        apiServer = createApiServer()
    }

    protected abstract fun createApiServer(): S

}